<!-- 列表刷新 -->
<template>
	<view class="">
		<uni-list>
			<uni-list-item title="测试" v-for="sd in ssdre"></uni-list-item>
		</uni-list>
		<view class="kjnjsert">
			<uni-load-more :status="status"></uni-load-more>
		</view>
	</view>
</template>
<script>
	//
	export default {
		data() {
			return {
				ssdre:20,
				isged:false,
				status: 'more' //  1。more 2。loading 3。noMore 
			}
		},
		components: {},
		methods: {},
		// 下拉刷新 回调方法
		onPullDownRefresh() {
			setTimeout(function() {
				uni.stopPullDownRefresh();
			}, 2000);
		},
		// 上拉加载更多
		onReachBottom() {
			this.status = 'loading'
			setTimeout(a=>{
				this.ssdre+=10
				this.status = 'more'
			},2000)
		},
		mounted() {}
	}
</script>
<style scoped>

</style>
